{% extends "base.html" %}
{% import "bootstrap/wtf.html" as wtf %}

{% block page_title %}创建日志{% endblock %}

{% block page_content %}
<div class="page-header">
    <h1>创建日志</h1>
</div>
<div class="col-md-6">
    <form method='POST' role="form" enctype="multipart/form-data">
            {{ form.hidden_tag() }}
            {{ form.name.label }} {{ form.name(class="form-control") }}
            <br>
            {{ form.subjects.label }} {{ form.subjects(class="form-control") }}
            <br>
            {{ form.labels.label }} {{ form.labels(class="form-control") }}
            <br>
            {{ form.summary.label }}{{ form.summary(class="form-control", rows="6") }}
            <br>
            {{ form.content.label }}{{ form.content(class="form-control", rows="12") }}
            <br>
            {{ form.file.label }}{{ form.file(class="form-control") }}
            <br>
            {{ form.submit(class="btn btn-default") }}
    </form>
</div>
<div>  </div>
{% endblock %}

{% block scripts %}
{{ super() }}
{{ pagedown.include_pagedown() }}
{% endblock %}